ComponentOne Bitmap for UWP
LoadAsync(StorageFile,ContainerFormat,Nullable<ImageRect>,BaseTransform[]) Method

C1.UWP.Bitmap Assembly > C1.Xaml.Bitmap Namespace > C1Bitmap Class > LoadAsync Method : LoadAsync(StorageFile,ContainerFormat,Nullable<ImageRect>,BaseTransform[]) Method
The input StorageFile.
The image container format; use Unknown to detect the format automatically.
Clipping rectangle for the image after all transformations.
The transformation chain for the image that is being loaded.
Loads the image from a StorageFile.
Syntax
'Declaration
 
Public Overloads Function LoadAsync( _
   ByVal storageFile As Windows.Storage.StorageFile, _
   ByVal containerFormat As ContainerFormat, _
   ByVal imageRect As System.Nullable(Of ImageRect), _
   ByVal ParamArray transforms() As BaseTransform _
) As System.Threading.Tasks.Task
public System.Threading.Tasks.Task LoadAsync( 
   Windows.Storage.StorageFile storageFile,
   ContainerFormat containerFormat,
   System.Nullable<ImageRect> imageRect,
   params BaseTransform[] transforms
)

Parameters

storageFile
The input StorageFile.
containerFormat
The image container format; use Unknown to detect the format automatically.
imageRect
Clipping rectangle for the image after all transformations.
transforms
The transformation chain for the image that is being loaded.
See Also

Reference

C1Bitmap Class
C1Bitmap Members
Overload List